﻿$def with (title='Proxpect')

<html>
    <head>
        <title>$title</title>
        <style type="text/css">
            @import "/static/base.css";
        </style>
        <script type="text/javascript" src="/static/jquery-1.3.1.min.js"></script>
        <script type="text/javascript" src="/static/base.js"></script>
    </head>
    <body>
        <div id="header">
            <div id="logo">
                <a href="/"><img src="/static/logo.png" alt="Proxpect" /></a>
            </div>
            <form id="search" action="/search" method="get">
                <p>
                    query: <input type="text" name="q" />
                    <select name="tag">
                        <option value=""></option>
                        $for tag_row in tag_list():
                            <option value="$tag_row.tag">$tag_row.tag</option>
                    </select>
                    <input type="submit" />
                </p>
            </form>
            <div id="logout">
                <a href="/logout">logout</a>
            </div>
        </div>
        <div id="main_content">